package com.xiaoxi.exam.job;

import lombok.AllArgsConstructor;

@AllArgsConstructor
public class RegisterRunnable implements Runnable {

  private String tel;
  private boolean notUrgent;
  private String userName;
  private String password;

  @Override
  public void run() {
    ToeflRegisterJob job = new ToeflRegisterJob(tel, notUrgent);
    job.register(userName, password, true);
  }
}
